Total Complexity | 50 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 466 |
Lines of code | 246 |
Logical lines of code | 97 |
Comment lines | 169 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_order_items_search() | 52 | 9 | 22 | |
search_order() | 56 | 8 | 16 | |
maybe_set_search_fields() | 44 | 4 | 49 | |
maybe_hook_woocommerce_search_fields() | 61 | 6 | 11 | |
__call() | 48 | 4 | 37 | |
should_integrate_with_query() | 62 | 5 | 11 | |
allow_meta_keys() | 50 | 2 | 34 | |
translate_args() | 62 | 3 | 12 | |
bypass_order_permissions_check() | 68 | 2 | 7 | |
keep_order_fields() | 68 | 2 | 7 | |
get_supported_post_types() | 60 | 1 | 15 | |
__construct() | 81 | 1 | 3 | |
setup() | 63 | 1 | 9 | |
tear_down() | 64 | 1 | 9 | |
get_admin_searchable_post_types() | 75 | 1 | 4 |